import request from '@/config/request.js';

//产线生产单分页
export const getChangeProductionPage = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/getChangeProductionPage`, params)

//调整产线
export const adjustProductionLine = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/adjustProductionLine`, params)

//获取工序
export const getProcesses = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/getProcesses`, params)

//获取缝制设备列表
export const getSewingDeviceList = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/getSewingDeviceList`, params)

//获取缝制员工列表
export const getSewingUserList = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/getSewingUserList`, params)

//调整产线工位
export const updateSewingHistory = (params) => request.post(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/updateSewingHistory`, params)

//校验设备码
export const checkDeviceSn = (params) => request.get(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/checkDeviceSn`, params)

//修改工序
export const updateProcessesSingle = (params) => request.post(`/iot-mobile-api/iotSewingChange/iotsewingchangerecord/updateProcessesSingle`, params)
